﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace O.M.Production.Domain.Entity
{

   /// <summary>
   /// 审计字段
   /// </summary>
    public class BaseModel
    {
        /// <summary>
        /// 添加人姓名
        /// </summary>
        [SugarColumn(ColumnDescription = "添加人姓名", Length = 100,IsNullable =true)]
        public string? _add_name { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [SugarColumn(ColumnDescription = "添加时间", IsNullable = true)]
        public DateTime? _add_time { get; set; }

        /// <summary>
        /// 更新人姓名
        /// </summary>
        [SugarColumn(ColumnDescription = "更新人姓名", Length = 100, IsNullable = true)]
        public string? _upd_name { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public DateTime? upd_time { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnDescription = "状态")]
        public bool state { get; set; }
    }
}
